FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"

SRC_URI += "file://${EM_CONF_DIR}"

do_install:append() {
    install -d ${D}/usr/share/entity-manager/configurations
    install -m 0444 ${WORKDIR}/${EM_CONF_DIR}/*_*.json ${D}/usr/share/entity-manager/configurations

    install -d ${D}/usr/share/entity-manager
    install -m 0444 ${WORKDIR}/${EM_CONF_DIR}/whiteListBin.json ${D}/usr/share/entity-manager

    install -d ${D}/etc/fru
    install -m 0777 ${WORKDIR}/${EM_CONF_DIR}/bin/*.bin ${D}/etc/fru

    install -m 0644 -D ${WORKDIR}/${EM_CONF_DIR}/blacklist.json ${D}${datadir}/${PN}/blacklist.json
}

FILES:${PN} += "/etc/fru"
